package com.yingxin.yxerp.module.activiti.biz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yingxin.yx.framework.commons.vo.BusinessTypeRespVo;
import com.yingxin.yxerp.module.activiti.biz.entity.UpdateDateApply;
import com.yingxin.yxerp.module.activiti.biz.mapper.UpdateDateApplyMapper;
import com.yingxin.yxerp.module.activiti.biz.vo.resp.UpdateDateApplyRespVo;
import com.yingxin.yxerp.module.activiti.vo.UpdateDateApplyCreateVo;

import java.util.List;

/**
 * 编辑申请
 * @author yuebao
 * @since 2023-05-22
 */

public interface IUpdateDateApplyService extends IService<UpdateDateApply> {

    /**
     * 根据 id 查询
     */
    UpdateDateApplyRespVo getVo( String id );

    /**
     * 获取mapper
     */
    UpdateDateApplyMapper mapper();

    /**
     * 创建
     */
    void create( UpdateDateApplyCreateVo createVo );

    /**
     * 修改审核时间
     */
    void updateApprovalTime(String id);

    /**
     * 获取 业务单据类型 集合
     */
    List<BusinessTypeRespVo> getBusinessTypeList();

}
